# Contributor: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=grip
pkgver=4.2.3
pkgrel=0
pkgdesc="CD Player, Secure Ripper, and Encoder"
url="https://sourceforge.net/projects/grip/"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="
	cdparanoia-dev
	curl-dev
	gtk+2.0-dev
	id3lib-dev
	meson
	"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/grip/files/$pkgver/grip-$pkgver.tar.gz/download"
options="!check" # no tests

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
05b66c363af31835e534547ae5dcb21340a7b3a824e46b337b511a8ddd0bbd161ab16470b658eb1df3887838b391d71702069da9207160a692e1a8ebae0d52e0  grip-4.2.3.tar.gz
"
